package com.aspose.cells;

public class zcfl extends zcfq {
   public zcfh a;

   public zcfl(zcfq var1) {
      super(var1, 1);
   }

   public zcfh e() {
      if (this.a == null) {
         this.a = new zcfh(this, 8);
      }

      return this.a;
   }

   public boolean f() {
      return this.d == null;
   }

   public String b(String var1) {
      if (this.a == null) {
         return null;
      } else {
         zcfg var2 = this.e().a(var1);
         return var2 != null ? var2.h : null;
      }
   }

   public String a(String var1, String var2) {
      if (this.a == null) {
         return null;
      } else {
         zcfg var3 = this.e().a(var1, var2);
         return var3 != null ? var3.h : null;
      }
   }

   public boolean g() {
      if (this.a == null) {
         return false;
      } else {
         return this.a.getCount() != 0;
      }
   }

   public zcfg c(String var1) {
      if (this.a == null) {
         return null;
      } else {
         zcfg var2 = this.e().a(var1);
         return var2 != null ? var2 : null;
      }
   }

   public void d(String var1) {
      if (this.a != null) {
         for(int var2 = 0; var2 < this.a.getCount(); ++var2) {
            if (com.aspose.cells.b.a.zv.b(this.a.a(var2).i(), var1)) {
               this.a.removeAt(var2);
               return;
            }
         }

      }
   }

   public String b() throws Exception {
      return super.b();
   }

   public void c(zcfx var1) throws Exception {
      for(zcfq var2 = this.k(); var2 != null; var2 = var2.l()) {
         var2.a(var1);
      }

   }

   public void a(zcfx var1) throws Exception {
      var1.c(this.f, this.g, (String)null);
      if (this.g()) {
         zcfh var2 = this.e();

         for(int var3 = 0; var3 < var2.getCount(); ++var3) {
            var2.a(var3).a(var1);
         }
      }

      if (this.f()) {
         var1.b();
      } else {
         this.c(var1);
         var1.a();
      }

   }

   public String toString() {
      return this.i();
   }
}
